package com.fdb.efp.nls.service.util;

public class TradeAutoResult {  
	/**
	 * 根据七级分类结果返回五级分类的对应结果
	 * @param sevenResult
	 * @return
	 */
	public static String returnFiveResult(String sevenResult){
		String fiveResult=null;
		if("11".equals(sevenResult)||"12".equals(sevenResult)){
			fiveResult="10";
		}else if("21".equals(sevenResult)||"22".equals(sevenResult)){
			fiveResult="20";
		}else if("30".equals(sevenResult)){
			fiveResult="30";
		}else if("40".equals(sevenResult)){
			fiveResult="40";
		}else if("50".equals(sevenResult)){
			fiveResult="50";
		}else{
			fiveResult="00";
		}
		return fiveResult;
	}
  
}
